import request from '@/utils/request'
//  黑名单展示
export function fetchDisplayList(query) {
  console.log('query: ', query);
  if (query.module == '') { delete query['module'] }
  return request({
    url: '/blacklist/hmd_view',
    method: 'get',
    params: query
  })
}


// 黑名单添加
export function addDo(query) {
  return request({
    url: '/blacklist/hmd_add',
    method: 'get',
    params: query
  })
}

// 黑名单筛查
export function display(query) {
  return request({
    url: '/blacklist/hmdsc',
    method: 'get',
    params: query
  })
}

